package com.ruoyi.business.mapper;

import java.util.List;
import com.ruoyi.business.domain.CzEquipmentTrajectory;

/**
 * 设备任务轨迹Mapper接口
 * 
 * @author ruoyi
 * @date 2022-01-01
 */
public interface CzEquipmentTrajectoryMapper 
{
    /**
     * 查询设备任务轨迹
     * 
     * @param trajectoryId 设备任务轨迹主键
     * @return 设备任务轨迹
     */
    public CzEquipmentTrajectory selectCzEquipmentTrajectoryByTrajectoryId(String trajectoryId);

    /**
     * 查询设备任务轨迹列表
     * 
     * @param czEquipmentTrajectory 设备任务轨迹
     * @return 设备任务轨迹集合
     */
    public List<CzEquipmentTrajectory> selectCzEquipmentTrajectoryList(CzEquipmentTrajectory czEquipmentTrajectory);

    /**
     * 新增设备任务轨迹
     * 
     * @param czEquipmentTrajectory 设备任务轨迹
     * @return 结果
     */
    public int insertCzEquipmentTrajectory(CzEquipmentTrajectory czEquipmentTrajectory);
    
    public int batchInsertCzEquipmentTrajectory(List<CzEquipmentTrajectory> list);
    
    /**
     * 修改设备任务轨迹
     * 
     * @param czEquipmentTrajectory 设备任务轨迹
     * @return 结果
     */
    public int updateCzEquipmentTrajectory(CzEquipmentTrajectory czEquipmentTrajectory);

    /**
     * 删除设备任务轨迹
     * 
     * @param trajectoryId 设备任务轨迹主键
     * @return 结果
     */
    public int deleteCzEquipmentTrajectoryByTrajectoryId(String trajectoryId);

    /**
     * 批量删除设备任务轨迹
     * 
     * @param trajectoryIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCzEquipmentTrajectoryByTrajectoryIds(String[] trajectoryIds);
}
